<?php
namespace Common\Model;
use Think\Model;

/**
 * Class AlbumModel
 * @package Common\Model
 * 相册列表
 */
class AlbumModel extends BaseModel{
    public $pix = "";
    public $fieldsStr = '*';
    public $orderStr = 'sort desc, createtime desc';

    public function get_show(){
        $map['status'] = array('eq', 1);
        $list = $this->where($map)->order($this->orderStr)->select();;
        return $list;
    }
}